package xyz.lwm.lazycat.web.annocation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 接收http请求头
 *
 * @author lwm
 */
@Target({PARAMETER, FIELD})
@Retention(RUNTIME)
public @interface Header {

    /**
     * The name of the header.
     */
    String value() default "";

}
